@import './element-var.scss';

@mixin flex-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

@mixin flex-fill {
  flex: 1;
  min-width: 1px;
  min-height: 1px;
}

@mixin main-height {
  min-height: calc(100vh - #{$--header-height});
}

@mixin content-height {
  min-height: calc(100vh - #{$--header-height} - 20px);
}

// 位置
@mixin position-abs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
